home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmToggleButtonSetState.z
/
XmToggleButtonSetState
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmTTTToooogggggggglllleeeeBBBBuuuuttttttttoooonnnnSSSSeeeettttSSSSttttaaaatttteeee((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmTTTToooogggggggglllleeeeBBBBuuuuttttttttoooonnnnSSSSeeeettttSSSSttttaaaatttteeee((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTToooogggggggglllleeeeBBBBuuuuttttttttoooonnnnSSSSeeeettttSSSSttttaaaatttteeee - A ToggleButton function that sets
or changes the current state
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/ToggleB.h>
vvvvooooiiiidddd XXXXmmmmTTTToooogggggggglllleeeeBBBBuuuuttttttttoooonnnnSSSSeeeettttSSSSttttaaaatttteeee(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
BBBBoooooooolllleeeeaaaannnn ssssttttaaaatttteeee,
BBBBoooooooolllleeeeaaaannnn nnnnoooottttiiiiffffyyyy);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTToooogggggggglllleeeeBBBBuuuuttttttttoooonnnnSSSSeeeettttSSSSttttaaaatttteeee sets or changes the ToggleButton's
current state.
_w_i_d_g_e_t Specifies the ToggleButton widget ID.
_s_t_a_t_e Specifies a Boolean value that indicates whether
the ToggleButton state is selected or unselected.
If the value is True, the button state is
selected; if it is False, the button state is
unselected.
_n_o_t_i_f_y Indicates whether XXXXmmmmNNNNvvvvaaaalllluuuueeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk is
called; it can be either True or False. The
XXXXmmmmNNNNvvvvaaaalllluuuueeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk is only called when this
function changes the state of the ToggleButton.
When this argument is True and the ToggleButton is
a child of a RowColumn widget whose
XXXXmmmmNNNNrrrraaaaddddiiiiooooBBBBeeeehhhhaaaavvvviiiioooorrrr is True, setting the ToggleButton
causes other ToggleButton and ToggleButtonGadget
children of the RowColumn to be unselected.
For a complete definition of ToggleButton and its associated
resources, see XXXXmmmmTTTToooogggggggglllleeeeBBBBuuuuttttttttoooonnnn(3).
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmTTTToooogggggggglllleeeeBBBBuuuuttttttttoooonnnn(3).
Page 1 (printed 10/24/98)